﻿/* Layout */

.simple-layout,
.simple-layout-tablet {
    height: 100%;
    width: 100%;
    position: relative;
}

.simple-layout .layout-header {
    position: absolute;
    width: 100%;
}

.simple-layout .layout-content {
    position: absolute;
    width: 100%;
    overflow: hidden;
}

.simple-layout .layout-content > div,
.simple-layout .transition-frame {
    -position: absolute;
    height: 100%;
    width: 100%;
}

/*.simple-layout .layout-footer {
    width: 100%;
    position: absolute;
}*/

/* ios */

.dx-theme-ios.dx-version-major-5 .simple-layout .layout-header,
.dx-theme-ios.dx-version-major-6 .simple-layout .layout-header {
    top: 0;
    height: 44px;
}

.dx-theme-ios.dx-version-major-5 .simple-layout .layout-content,
.dx-theme-ios.dx-version-major-6 .simple-layout .layout-content {
    top: 44px;
    bottom: 0;
}

/*.dx-theme-ios.dx-version-major-5 .simple-layout.has-navbar .layout-content,
.dx-theme-ios.dx-version-major-6 .simple-layout.has-navbar .layout-content {
    bottom: 59px;
}

.dx-theme-ios.dx-version-major-5 .simple-layout .layout-footer,
.dx-theme-ios.dx-version-major-6 .simple-layout .layout-footer {
    height: 59px;
    bottom: 0;
}*/

.dx-theme-ios.dx-version-major-5 .simple-layout .view-toolbar-bottom.dx-toolbar,
.dx-theme-ios.dx-version-major-6 .simple-layout .view-toolbar-bottom.dx-toolbar {
    background: transparent;
    border: none;
    margin-bottom: 10px;
}
 
.dx-theme-ios.dx-version-major-5 .simple-layout .view-footer,
.dx-theme-ios.dx-version-major-6 .simple-layout .view-footer {
    position: static;
}

.dx-theme-ios.dx-version-major-5 .simple-layout .view-footer .dx-toolbar,
.dx-theme-ios.dx-version-major-6 .simple-layout .view-footer .dx-toolbar {
    height: 57px;
}

.dx-theme-ios.dx-version-major-5 .simple-layout .view-toolbar-bottom.dx-toolbar .dx-toolbar-center,
.dx-theme-ios.dx-version-major-6 .simple-layout .view-toolbar-bottom.dx-toolbar .dx-toolbar-center {
    width: 100%;
}

.dx-theme-ios.dx-version-major-5 .simple-layout .view-footer .dx-button,
.dx-theme-ios.dx-version-major-6 .simple-layout .view-footer .dx-button {
    width: 97%;
    overflow: visible;
    height: 40px;
}

.dx-theme-ios.dx-version-major-5 .simple-layout .view-footer .dx-button .dx-button-content,
.dx-theme-ios.dx-version-major-6 .simple-layout .view-footer .dx-button .dx-button-content {
    height: 44px;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

.dx-theme-ios.dx-version-major-5 .simple-layout .view-footer .dx-button .dx-button-content .dx-button-text,
.dx-theme-ios.dx-version-major-6 .simple-layout .view-footer .dx-button .dx-button-content .dx-button-text {
    font-size: 20px;
    line-height: 38px;
}

/* ios7 */

.dx-theme-ios.dx-version-major-7 .simple-layout .layout-header {
    top: 0;
    height: 44px;
}

.dx-theme-ios.dx-version-major-7 .simple-layout .layout-content {
    top: 45px;
    bottom: 0;
    background-color: #fff;
}

.dx-theme-ios.dx-version-major-7 .simple-layout .view-footer {
    position: static;
}

.dx-theme-ios.dx-version-major-7 .simple-layout .view-toolbar-bottom.dx-toolbar {
    background: transparent;
    border: none;
    margin-bottom: 10px;
}

.dx-theme-ios.dx-version-major-7 .simple-layout .view-toolbar-bottom.dx-toolbar .dx-toolbar-center {
    width: 100%;
}

.dx-theme-ios.dx-version-major-7 .simple-layout .view-footer .dx-toolbar {
    height: 57px;
}

.dx-theme-ios.dx-version-major-7 .slideout-layout .view-footer .dx-toolbar-center {
    width: 100%;
}

.dx-theme-ios.dx-version-major-7 .simple-layout .view-footer .dx-button {
    width: 97%;
    overflow: visible;
}

.dx-theme-ios.dx-version-major-7 .simple-layout .view-footer .dx-button .dx-button-content {
    height: 44px;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

.dx-theme-ios.dx-version-major-7 .simple-layout .view-footer .dx-button .dx-button-content .dx-button-text {
    font-size: 20px;
    line-height: 38px;
}

/* android */

.dx-theme-android .simple-layout .layout-content {
    top: 46px;
    bottom: 0;
}

/* tizen */

.dx-theme-tizen .simple-layout .layout-content {
    top: 45px;
    bottom: 0;
}

/* generic */

.dx-theme-generic .simple-layout .layout-content {
    top: 46px;
    bottom: 0;
}

.dx-theme-generic .simple-layout .view-footer {
    position: static;
}

.dx-theme-generic .simple-layout .view-footer .view-toolbar-bottom {
    position: static;
}


/* Windows Phone 8*/
.win8phone-layout {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.win8phone-layout .layout-content {
    position: absolute;
    top: 35px;
    bottom: 0;
    width: 100%;
    overflow: hidden;
}

.win8phone-layout .layout-content > div {
    height: 100%;
    width: 100%;
}

.win8phone-layout .view-content {
    position: absolute;
    height: 100%;
    width: 100%;
}

.win8phone-layout .layout-frame {
    top: 0;
    bottom: 0;
    position: absolute;
    width: 100%;
}
.win8phone-layout.has-toolbar-bottom .layout-frame,
.win8phone-layout .has-toolbar-bottom.layout-frame {
    bottom: 60px;
}

.win8phone-layout .dx-toolbar.layout-toolbar-bottom {
    position: absolute;
    bottom: 0;
    margin-bottom: 0;
}

.win8phone-layout .layout-footer {
    position: absolute;
    bottom: 0;
    height: 0;
    width: 100%;
}

.win8phone-layout.has-toolbar-bottom .layout-footer {
    height: 60px;
}
